#ifndef __cevent__
#define __cevent__


class CEvent {

	long element_id;
	int event_type;
	double event_time;
public:
	long getID();
	int getType();
	double getTime();
	CEvent(long id, int tp, double t);
	~CEvent();
	
	const static int Begin_Idle;					//then TryPull and set the Begin_Busy time
	const static int Begin_Busy;					//then set the Machine_Setup_Begin time
	const static int Machine_Setup_Begin;			//then calc the Set-up time and set the Machine_Setup_Over time
	const static int Machine_Setup_Over;			//then set the Machine_Process_Begin time
	const static int Machine_Process_Begin;		//then Calc the Processing time and set the Machine_Process_Over time
	const static int Machine_Process_Over;		//then set the Machine_Block_Begin time
	const static int Machine_Block_Begin;			//then TryPush and set the Machine_Block_Over time
	const static int Machine_Block_Over;			//then set the Begin_Idle time
};
#endif // __cevent__
